/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package AutoCommandGroups;

import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.command.WaitCommand;
import ticks.chromedome.commands.DriveDistance;
import ticks.chromedome.commands.ElevatorUp;
import ticks.chromedome.commands.PottyChairUp;
import ticks.chromedome.commands.ReleaseStopper;
import ticks.chromedome.commands.SetShooterSetpoint;
import ticks.chromedome.commands.SetSlashSetpoint;
import ticks.chromedome.commands.ShooterSpeedControl;
import ticks.chromedome.commands.WaitForSpeed;

/**
 *
 * @author Jared
 */
public class ManualShootKeyBridge extends CommandGroup {
    
    public ManualShootKeyBridge() {
        addParallel(new SetShooterSetpoint(ShooterSpeedControl.bridge_speed));
        addSequential(new WaitForSpeed());
        addSequential(new PottyChairUp(1.5));
        addParallel(new ReleaseStopper());
        addParallel(new ElevatorUp());
        addSequential(new WaitCommand(1.5));
        addSequential(new PottyChairUp(1.5));
        addSequential(new DriveDistance(50, -0.7));
        addSequential(new SetSlashSetpoint(SetSlashSetpoint.SLASH_BRIDGE_VOLTAGE));
       
       
        // Add Commands here:
        // e.g. addSequential(new Command1());
        //      addSequential(new Command2());
        // these will run in order.

        // To run multiple commands at the same time,
        // use addParallel()
        // e.g. addParallel(new Command1());
        //      addSequential(new Command2());
        // Command1 and Command2 will run in parallel.

        // A command group will require all of the subsystems that each member
        // would require.
        // e.g. if Command1 requires chassis, and Command2 requires arm,
        // a CommandGroup containing them would require both the chassis and the
        // arm.
    }
}
